Skip to content

Pin versions in workflow files#55

Merged
ddworken merged 1 commit intoanthropics:mainfrom
Eduard-Voiculescu:main
Feb 11, 2026
Merged

Pin versions in workflow files#55
ddworken merged 1 commit intoanthropics:mainfrom
Eduard-Voiculescu:main

Conversation

@Eduard-Voiculescu
Copy link
Copy Markdown
Contributor

@Eduard-Voiculescu Eduard-Voiculescu commented Jan 12, 2026

Instead of using @version, pin all github actions uses to a specific commit hash. This makes is that much harder for a supply chain attack to occur.

Related files taken from the latest github action run

sast.yml

https://github.com/anthropics/claude-code-security-review/actions/runs/19684201145/job/56385581072

Screenshot 2026-01-12 at 12 29 39 PM

test-claudecode.yml

https://github.com/anthropics/claude-code-security-review/actions/runs/19684201170/job/56385581033

Screenshot 2026-01-12 at 12 31 22 PM

The only difference is the oven-sh/setup-bun, which in the latest run was set as v2. I don't mind pinning it to that version if needed.

@ddworken
Copy link
Copy Markdown
Contributor

Hi @Eduard-Voiculescu, thank you for the PR! This LGTM, but our GitHub org policy requires signed commits. Would you mind pushing up an update so this has signed commits?

@Eduard-Voiculescu
Copy link
Copy Markdown
Contributor Author

Sure, you want me to push something like an git commit -S --allow-empty -m "" or do you want me to force push on my own branch with the -S flag ?

…ction.yaml files

Instead of using @Version, pin all github actions uses to a specific commit hash. This makes is that much harder for a supply chain attack to occur.
@Eduard-Voiculescu
Copy link
Copy Markdown
Contributor Author

@ddworken Done pushed a signed commit

@ddworken ddworken merged commit 0c6a49f into anthropics:main Feb 11, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants